package scm.message;

public class Cabecera {

	private MailUser sender;
	private MailUser destinatario;
	
	public Cabecera(MailUser sender, MailUser destinatario){
		this.sender = sender;
		this.destinatario = destinatario;
	}
	
	public MailUser obtenerSender(){
		return sender;
	}
	public MailUser obtenerDestinatario(){
		return destinatario;
	}
	
	public String toString(){
		return "Sender:" + sender.toString() + "; Destinatario:" + destinatario.toString();
	}
	
}
